package com.nbicc.module.config.autoconfig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: lilingyan
 * @Date 2018/8/31 14:01
 */
@Data
@Component
@ConfigurationProperties("huawei.obs")
public class PublicBucketAutoConfiguration implements IBucketAutoConfiguration{

    private String endPoint;
    private String ak;
    private String sk;
    private long expireSeconds = 5 * 60;
    private String bucketName;

}
